<!DOCTYPE html>
<html>
<head>
	<meta charset="utf-8">
	<title></title>
</head>
<body>
	<canvas id="mycanvas" width="400" height="500"></canvas>
</body>
</html>

<style type="text/css">
	#mycanvas{border: 1px solid #000000;}
</style>

<script type="text/javascript">
	context = document.getElementById("mycanvas");
	var context = context.getContext("2d")
	context.beginPath();
	context.moveTo(20,20);
	context.bezierCurveTo(20,100,200,100,200,20)
	context.stroke()
</script>